package com.jurenzhao.partssystem.business.order_enterprise.dao;

import com.jurenzhao.partssystem.business.order_enterprise.entity.SaleOrder;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;

@MapperScan
public interface SaleOrderMapper {
    int deleteByPrimaryKey(String orderId);

    int insert(SaleOrder record);

    int insertSelective(SaleOrder record);

    SaleOrder selectByPrimaryKey(String orderId);

    int updateByPrimaryKeySelective(SaleOrder record);

    int updateByPrimaryKey(SaleOrder record);

    List<SaleOrder> findAll();
}